﻿@page "/bluetooths"
@namespace BootstrapBlazor.Shared.Samples
@inject IStringLocalizer<Bluetooths> Localizer

<h3>@Localizer["Title"]</h3>

<PackageTips Name="BootstrapBlazor.Bluetooth" />

<h5><a href="/bluetooths">@Localizer["Url1"]</a></h5>
<h5><a href="/bluetoothheartrates">@Localizer["Url2"]</a></h5>
<h5><a href="/bluetoothbatterylevels">@Localizer["Url3"]</a></h5>

<Tips>
    <p>@((MarkupString)Localizer["Tips"].Value)</p>
</Tips>

<DemoBlock Title="@Localizer["BaseUsagTitle"]"
           Introduction="@Localizer["BaseUsageIntro"]"
           Name="Nomal"
           Demo="typeof(Demos.Bluetooths.BluetoothNomal)">
</DemoBlock>

<h4>@Localizer["BluetoothsTitle"]</h4>

<DemoBlock Title="@Localizer["BaseUsagTitle"]"
           Introduction="@Localizer["BluetoothBatteryLevelIntro"]"
           Name="Nomal"
           Demo="typeof(Demos.Bluetooths.BluetoothBatteryLevel)">
</DemoBlock>

<h4>@Localizer["BluetoothsTitle2"]</h4>

<DemoBlock Title="@Localizer["BaseUsagTitle"]"
           Introduction="@Localizer["BluetoothBatteryLevelIntro"]"
           Name="Nomal"
           Demo="typeof(Demos.Bluetooths.BluetoothHeartRate)">
</DemoBlock>

<AttributeTable Title="Printer 组件" Items="@GetAttributes()" />

<AttributeTable Title="BatteryLevel 组件" Items="@GetAttributesBatteryLevel()" />

<AttributeTable Title="Heartrate 组件" Items="@GetAttributesHeartrate()" />

<AttributeTable Title="BluetoothDevice 类" Items="@GetBluetoothDeviceAttributes()" />

<AttributeTable Title="PrinterOption 类" Items="@GetPrinterOptionAttributes()" />
